﻿using System;
namespace Colors.Xroad.Eu {
    
    
    [System.SerializableAttribute()]
    public partial class UserRole {
        
        private long @__role;
        
        private long @__unit;
        
        public UserRole() {
        }
        
        /// <summary>
        /// All parameters
        /// </summary>
        public UserRole(long @role, long @unit) {
            this.@__role = @role;
            this.@__unit = @unit;
        }
        
        /// <summary>
        /// Copy Constructor
        /// </summary>
        protected UserRole(UserRole @userRole) {
            this.@__role = @userRole.Role;
            this.@__unit = @userRole.Unit;
        }
        
        public virtual long Role {
            get {
                return this.@__role;
            }
            set {
                this.@__role = value;
            }
        }
        
        public virtual long Unit {
            get {
                return this.@__unit;
            }
            set {
                this.@__unit = value;
            }
        }
    }
}
